using System;
using System.Collections;
using System.Collections.Generic;

namespace ECCIT
{
	[Serializable()]
	public class PagingList
	{
		private int _capacity;
		private IList _list;
		
		public int Capacity
		{
			get{ return _capacity; }
			set{ _capacity = value; }
		}		

		public IList List
		{
			get{ return _list; }
			set{ _list = value; }
		}

		public PagingList(){}

		public PagingList(IList list, int capacity)
		{
			_list = list;
			_capacity = capacity;
		}
	}

    [Serializable()]
    public class PagingList<T>
    {
        private int _capacity;
        private IList<T> _list;

        public int Capacity
        {
            get { return _capacity; }
            set { _capacity = value; }
        }

        public IList<T> List
        {
            get { return _list; }
            set { _list = value; }
        }

        public PagingList() { }

        public PagingList(IList<T> list, int capacity)
        {
            _list = list;
            _capacity = capacity;
        }
    }
}
